package cn.com.w.common.DTO;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.security.core.GrantedAuthority;

/**
 * @author w
 * @Description:
 * @DateTime: 2025 04 25 17:45
 **/
public class SysRoleDTO implements GrantedAuthority {

    private Long id;
    private String roleName;
    private String roleDesc;


    //标记该字段不做json处理
    @JsonIgnore
    @Override
    public String getAuthority() {
        return roleName;
    }
}